import { PureComponent } from "react";
import { Link,Outlet} from "react-router-dom";
class Home extends PureComponent
{
    render()
    {
        return(
            <div>
              <header> <h2>Homexxx</h2></header>
                <nav>
                    <Link to="recommend">recommend</Link>
                </nav>
                <Outlet></Outlet>
            </div>
        )
    }
}

export default Home